package com.whately.core.database.common.dal.mapper;

import com.whately.core.database.common.dal.model.CommonDic;
import com.whately.core.database.common.dal.model.CommonDicExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CommonDicMapper {
    long countByExample(CommonDicExample example);

    int deleteByExample(CommonDicExample example);

    int deleteByPrimaryKey(String dicCode);

    int insert(CommonDic record);

    int insertSelective(CommonDic record);

    List<CommonDic> selectByExample(CommonDicExample example);

    CommonDic selectByPrimaryKey(String dicCode);

    int updateByExampleSelective(@Param("record") CommonDic record, @Param("example") CommonDicExample example);

    int updateByExample(@Param("record") CommonDic record, @Param("example") CommonDicExample example);

    int updateByPrimaryKeySelective(CommonDic record);

    int updateByPrimaryKey(CommonDic record);
}